package com.ctshk.rpc.train.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 火车产品信息dto
 * </p>
 *
 * @author 彭柳霖
 * @since 2021-03-11
 */
@Data
@ApiModel(value="TrainProductDTO对象", description="火车产品信息dto")
public class TrainProductDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "火车产品id")
    private Long id;

    @ApiModelProperty(value = "产品编码")
    private String productCode;

    @ApiModelProperty(value = "出发城市id")
    private Long departureCityId;

    @ApiModelProperty(value = "出发城市名称")
    private String departureCityName;

    @ApiModelProperty(value = "到达城市id")
    private Long arriveCityId;

    @ApiModelProperty(value = "到达城市名称")
    private String arriveCityName;

    @ApiModelProperty(value = "火车车次id")
    private Long trainNumberId;

    @ApiModelProperty(value = "席位等级id")
    private Long seatLevelId;

    @ApiModelProperty(value = "席位等级名称")
    private String seatLevelName;

    @ApiModelProperty(value = "车次名称")
    private String trainNumberName;

    @ApiModelProperty(value = "车次类型名称")
    private String typeName;

    @ApiModelProperty(value = "到达时间")
    private LocalDateTime terminusTime;

    @ApiModelProperty(value = "出发时间")
    private LocalDateTime departureTime;

    @ApiModelProperty(value = "上车站id")
    private Long boardingStationId;

    @ApiModelProperty(value = "上车站名称")
    private String boardingStationName;

    @ApiModelProperty(value = "下车站点id")
    private Long alightingStationId;

    @ApiModelProperty(value = "铁路公司id")
    private Long railwayCorporationId;

    @ApiModelProperty(value = "铁路公司名称")
    private String railwayCorporationName;

    @ApiModelProperty(value = "下车站点名称")
    private String alightingStationName;

    @ApiModelProperty(value = "产品来源")
    private Integer productSource;

    @ApiModelProperty(value = "供应商id")
    private Long supplierId;

    @ApiModelProperty(value = "供应商名称")
    private String supplierName;

    @ApiModelProperty(value = "适用人群")
    private Long intendedFor;

    @ApiModelProperty(value = "适用人群名称")
    private String intendedForName;

    @ApiModelProperty(value = "负责人ID")
    private Long chargePersonId;

    @ApiModelProperty(value = "负责人员工号")
    private String chargePersonNumber;

    @ApiModelProperty(value = "负责人姓名")
    private String chargePersonName;

    @ApiModelProperty(value = "负责人部门名称")
    private String chargePersonDepartment;

    @ApiModelProperty(value = "售卖状态")
    private Integer saleStatus;

    @ApiModelProperty(value = "打包状态")
    private Integer packStatus;

    @ApiModelProperty(value = "审批状态")
    private Integer approvalStatus;

    @ApiModelProperty(value = "审批单号")
    private String approvalNumber;

    @ApiModelProperty(value = "火车票产品成本集合")
    private List<TrainProductCostDTO> trainProductCostDTOList;

    @ApiModelProperty(value = "火车票产品预订设置")
    private TrainProductReservationSettingsDTO trainProductReservationSettingsDTO;

    @ApiModelProperty(value = "成人价格")
    private BigDecimal adultPrice;

    @ApiModelProperty(value = "小童价格")
    private BigDecimal childrenPrice;

    @ApiModelProperty(value = "车次DTO")
    private TrainNumberDTO trainNumberDTO;

    @ApiModelProperty(value = "运行时长")
    private String runningTime;
}
